import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'id',
    type: 'input',
    label: translate('orderNum')
  },
  {
    filed: 'memberInfo',
    type: 'input',
    label: translate('memberInfo')
  },
  {
    filed: 'productType',
    type: 'select',
    label: translate('productName'),
    options: [
      { value: '1', label: translate('by') },
      { value: '2', label: translate('bjd') },
      { value: '3', label: translate('bn') }
    ]
  },
  {
    filed: 'payStatus',
    type: 'select',
    label: translate('orderStatus'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: translate('payMethod'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'selDate',
    type: 'daterange',
    label: translate('rq'),
    clearable: false
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
